//
// Created by bjliuyong on 2021/7/13.
//

#ifndef JVM_INSTANCEKLASS_H
#define JVM_INSTANCEKLASS_H

#include "klass.h"
#include "../utilities/top.h"

class InstanceKlass : public Klass {

protected:
    u2              _minor_version;        // minor version number of class file
    u2              _major_version;        // major version number of class file

public:
    // minor and major version numbers of class file
    u2 minor_version() const                 { return _minor_version; }
    void set_minor_version(u2 minor_version) { _minor_version = minor_version; }
    u2 major_version() const                 { return _major_version; }
    void set_major_version(u2 major_version) { _major_version = major_version; }
};

#endif //JVM_INSTANCEKLASS_H
